<?
require_once("../config/dbconn.php");require_once("../config/powercls.php");
  //查看这个盘的盘主
				  $sql1="select * from {$db_prefix}agroup1 where gid='$gid' and pos=1";
				  $rs1=$db->get_one($sql1);
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	
}
td{
	font-size:12px;
}
-->
</style>

<link href="images/skin.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" height="29" valign="top" background="images/mail_leftbg.gif"><img src="images/left-top-right.gif" width="17" height="29" /></td>
    <td width="935" height="29" valign="top" background="images/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
        <td height="31"><div class="titlebt">组查看</div></td>
      </tr>
    </table></td>
    <td width="16" valign="top" background="images/mail_rightbg.gif"><img src="images/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
  <tr>
    <td height="71" valign="middle" background="images/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9"><table width="100%" height="138" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="13" valign="top">&nbsp;</td>
      </tr>
      <tr>
        <td valign="top">
		
		<table width="100%" border="0" cellspacing="5" cellpadding="0">
            <tr>
              <td width="100%" colspan="8"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="nowtable">
                <tr>
                  <td align="center" class="left_bt2">&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:red">组类型：
                    <? if($rs1['pantype']==1) echo "消费组";else echo "财富组";?>
                  盘号：
                  <? echo $rs1['gid']?>
                   状态：
                 <? if($rs1['state']==1) echo "正常";else echo "结束";?>上一个盘号： <? if ($rs1['fid']>0) echo $rs1['fid']?> 创建时间：
                 <?=date("Y-m-d H:i:s",$rs1['addtime'])?>关闭时间：
                 <? if ($rs1['closetime']>0) echo date("Y-m-d H:i:s",$rs1['closetime'])?>
                  </span></td>
                </tr>
              </table></td>
            </tr>
            <tr>
              <td height="30" colspan="8" align="center"><table width="100" border="0" cellspacing="1" cellpadding="0" bgcolor="silver" style="margin:0px 3px;">
                <tr>
                  <td height="20" colspan="2" align="center">
				  <?
				
				  echo $rs1['username'];
				  ?>
				  </td>
                </tr>
                <tr>
                  <td height="20" colspan="2" align="center" bgcolor="#FFFFFF" >组长</td>
                </tr>
                <tr>
                  <td height="20" align="center" bgcolor="#FFFFFF" >资格</td>
                  <td align="center" bgcolor="#FFFFFF" ><?=$rs1['zige']?></td>
                </tr>
                <tr>
                  <td height="20" align="center" bgcolor="#FFFFFF" >下滑资格</td>
                  <td align="center" bgcolor="#FFFFFF" ><?=$rs1['xhzige']?></td>
                </tr>
                <tr>
                  <td width="51" height="20" align="center" bgcolor="#FFFFFF" >紧缩资格</td>
                  <td width="46" align="center" bgcolor="#FFFFFF" ><?=$rs1['jszige']?></td>
                </tr>
              </table></td>
            </tr>
            <tr>
              <td height="30" colspan="4" align="center"><table width="100" border="0" cellspacing="1" cellpadding="0" bgcolor="silver" style="margin:0px 3px;">
                <tr>
                  <td height="20" colspan="2" align="center"><?
				  //查看这个盘的盘主
				  $sql1="select * from {$db_prefix}agroup1 where gid='$gid' and pos=2";
				  $rs1=$db->get_one($sql1);
				  echo $rs1['username'];
				  ?>
                  </td>
                </tr>
                <tr>
                  <td height="20" colspan="2" align="center" bgcolor="#FFFFFF" >副组长</td>
                </tr>
                <tr>
                  <td height="20" align="center" bgcolor="#FFFFFF" >资格</td>
                  <td align="center" bgcolor="#FFFFFF" ><?=$rs1['zige']?></td>
                </tr>
                <tr>
                  <td height="20" align="center" bgcolor="#FFFFFF" >下滑资格</td>
                  <td align="center" bgcolor="#FFFFFF" ><?=$rs1['xhzige']?></td>
                </tr>
                <tr>
                  <td width="51" height="20" align="center" bgcolor="#FFFFFF" >紧缩资格</td>
                  <td width="46" align="center" bgcolor="#FFFFFF" ><?=$rs1['jszige']?></td>
                </tr>
              </table></td>
              <td colspan="4" align="center"><table width="100" border="0" cellspacing="1" cellpadding="0" bgcolor="silver" style="margin:0px 3px;">
                <tr>
                  <td height="20" colspan="2" align="center"><?
				  //查看这个盘的盘主
				  $sql1="select * from {$db_prefix}agroup1 where gid='$gid' and pos=3";
				  $rs1=$db->get_one($sql1);
				  echo $rs1['username'];
				  ?>
                  </td>
                </tr>
                <tr>
                  <td height="20" colspan="2" align="center" bgcolor="#FFFFFF" >副组长</td>
                </tr>
                <tr>
                  <td height="20" align="center" bgcolor="#FFFFFF" >资格</td>
                  <td align="center" bgcolor="#FFFFFF" ><?=$rs1['zige']?></td>
                </tr>
                <tr>
                  <td height="20" align="center" bgcolor="#FFFFFF" >下滑资格</td>
                  <td align="center" bgcolor="#FFFFFF" ><?=$rs1['xhzige']?></td>
                </tr>
                <tr>
                  <td width="51" height="20" align="center" bgcolor="#FFFFFF" >紧缩资格</td>
                  <td width="46" align="center" bgcolor="#FFFFFF" ><?=$rs1['jszige']?></td>
                </tr>
              </table></td>
            </tr>
            <tr>
              <td height="30" colspan="2" align="center"><table width="100" border="0" cellspacing="1" cellpadding="0" bgcolor="silver" style="margin:0px 3px;">
                <tr>
                  <td height="20" colspan="2" align="center"><?
				  //查看这个盘的盘主
				  $sql1="select * from {$db_prefix}agroup1 where gid='$gid' and pos=4";
				  $rs1=$db->get_one($sql1);
				  echo $rs1['username'];
				  ?>
                  </td>
                </tr>
                <tr>
                  <td height="20" colspan="2" align="center" bgcolor="#FFFFFF" >组员</td>
                </tr>
                <tr>
                  <td height="20" align="center" bgcolor="#FFFFFF" >资格</td>
                  <td align="center" bgcolor="#FFFFFF" ><?=$rs1['zige']?></td>
                </tr>
                <tr>
                  <td height="20" align="center" bgcolor="#FFFFFF" >下滑资格</td>
                  <td align="center" bgcolor="#FFFFFF" ><?=$rs1['xhzige']?></td>
                </tr>
                <tr>
                  <td width="51" height="20" align="center" bgcolor="#FFFFFF" >紧缩资格</td>
                  <td width="46" align="center" bgcolor="#FFFFFF" ><?=$rs1['jszige']?></td>
                </tr>
              </table></td>
              <td colspan="2" align="center"><table width="100" border="0" cellspacing="1" cellpadding="0" bgcolor="silver" style="margin:0px 3px;">
                <tr>
                  <td height="20" colspan="2" align="center"><?
				  //查看这个盘的盘主
				  $sql1="select * from {$db_prefix}agroup1 where gid='$gid' and pos=5";
				  $rs1=$db->get_one($sql1);
				  echo $rs1['username'];
				  ?>
                  </td>
                </tr>
                <tr>
                  <td height="20" colspan="2" align="center" bgcolor="#FFFFFF" >组员</td>
                </tr>
                <tr>
                  <td height="20" align="center" bgcolor="#FFFFFF" >资格</td>
                  <td align="center" bgcolor="#FFFFFF" ><?=$rs1['zige']?></td>
                </tr>
                <tr>
                  <td height="20" align="center" bgcolor="#FFFFFF" >下滑资格</td>
                  <td align="center" bgcolor="#FFFFFF" ><?=$rs1['xhzige']?></td>
                </tr>
                <tr>
                  <td width="51" height="20" align="center" bgcolor="#FFFFFF" >紧缩资格</td>
                  <td width="46" align="center" bgcolor="#FFFFFF" ><?=$rs1['jszige']?></td>
                </tr>
              </table></td>
              <td height="30" colspan="2" align="center"><table width="100" border="0" cellspacing="1" cellpadding="0" bgcolor="silver" style="margin:0px 3px;">
                <tr>
                  <td height="20" colspan="2" align="center"><?
				  //查看这个盘的盘主
				  $sql1="select * from {$db_prefix}agroup1 where gid='$gid' and pos=6";
				  $rs1=$db->get_one($sql1);
				  echo $rs1['username'];
				  ?>
                  </td>
                </tr>
                <tr>
                  <td height="20" colspan="2" align="center" bgcolor="#FFFFFF" >组员</td>
                </tr>
                <tr>
                  <td height="20" align="center" bgcolor="#FFFFFF" >资格</td>
                  <td align="center" bgcolor="#FFFFFF" ><?=$rs1['zige']?></td>
                </tr>
                <tr>
                  <td height="20" align="center" bgcolor="#FFFFFF" >下滑资格</td>
                  <td align="center" bgcolor="#FFFFFF" ><?=$rs1['xhzige']?></td>
                </tr>
                <tr>
                  <td width="51" height="20" align="center" bgcolor="#FFFFFF" >紧缩资格</td>
                  <td width="46" align="center" bgcolor="#FFFFFF" ><?=$rs1['jszige']?></td>
                </tr>
              </table></td>
              <td colspan="2" align="center"><table width="100" border="0" cellspacing="1" cellpadding="0" bgcolor="silver" style="margin:0px 3px;">
                <tr>
                  <td height="20" colspan="2" align="center"><?
				  //查看这个盘的盘主
				  $sql1="select * from {$db_prefix}agroup1 where gid='$gid' and pos=7";
				  $rs1=$db->get_one($sql1);
				  echo $rs1['username'];
				  ?>
                  </td>
                </tr>
                <tr>
                  <td height="20" colspan="2" align="center" bgcolor="#FFFFFF" >组员</td>
                </tr>
                <tr>
                  <td height="20" align="center" bgcolor="#FFFFFF" >资格</td>
                  <td align="center" bgcolor="#FFFFFF" ><?=$rs1['zige']?></td>
                </tr>
                <tr>
                  <td height="20" align="center" bgcolor="#FFFFFF" >下滑资格</td>
                  <td align="center" bgcolor="#FFFFFF" ><?=$rs1['xhzige']?></td>
                </tr>
                <tr>
                  <td width="51" height="20" align="center" bgcolor="#FFFFFF" >紧缩资格</td>
                  <td width="46" align="center" bgcolor="#FFFFFF" ><?=$rs1['jszige']?></td>
                </tr>
              </table></td>
            </tr>
            <tr>
              <td height="30" align="center"><table width="100" border="0" cellspacing="1" cellpadding="0" bgcolor="silver" style="margin:0px 3px;">
                <tr>
                  <td height="20" colspan="2" align="center"><?
				  //查看这个盘的盘主
				  $sql1="select * from {$db_prefix}agroup1 where gid='$gid' and pos=8";
				  $rs1=$db->get_one($sql1);
				  echo $rs1['username'];
				  ?>
                  </td>
                </tr>
                <tr>
                  <td height="20" colspan="2" align="center" bgcolor="#FFFFFF" >组员</td>
                </tr>
                <tr>
                  <td height="20" align="center" bgcolor="#FFFFFF" >资格</td>
                  <td align="center" bgcolor="#FFFFFF" ><?=$rs1['zige']?></td>
                </tr>
                <tr>
                  <td height="20" align="center" bgcolor="#FFFFFF" >下滑资格</td>
                  <td align="center" bgcolor="#FFFFFF" ><?=$rs1['xhzige']?></td>
                </tr>
                <tr>
                  <td width="51" height="20" align="center" bgcolor="#FFFFFF" >紧缩资格</td>
                  <td width="46" align="center" bgcolor="#FFFFFF" ><?=$rs1['jszige']?></td>
                </tr>
              </table></td>
              <td align="center"><table width="100" border="0" cellspacing="1" cellpadding="0" bgcolor="silver" style="margin:0px 3px;">
                <tr>
                  <td height="20" colspan="2" align="center"><?
				  //查看这个盘的盘主
				  $sql1="select * from {$db_prefix}agroup1 where gid='$gid' and pos=9";
				  $rs1=$db->get_one($sql1);
				  echo $rs1['username'];
				  ?>
                  </td>
                </tr>
                <tr>
                  <td height="20" colspan="2" align="center" bgcolor="#FFFFFF" >组员</td>
                </tr>
                <tr>
                  <td height="20" align="center" bgcolor="#FFFFFF" >资格</td>
                  <td align="center" bgcolor="#FFFFFF" ><?=$rs1['zige']?></td>
                </tr>
                <tr>
                  <td height="20" align="center" bgcolor="#FFFFFF" >下滑资格</td>
                  <td align="center" bgcolor="#FFFFFF" ><?=$rs1['xhzige']?></td>
                </tr>
                <tr>
                  <td width="51" height="20" align="center" bgcolor="#FFFFFF" >紧缩资格</td>
                  <td width="46" align="center" bgcolor="#FFFFFF" ><?=$rs1['jszige']?></td>
                </tr>
              </table></td>
              <td height="30" align="center"><table width="100" border="0" cellspacing="1" cellpadding="0" bgcolor="silver" style="margin:0px 3px;">
                <tr>
                  <td height="20" colspan="2" align="center"><?
				  //查看这个盘的盘主
				  $sql1="select * from {$db_prefix}agroup1 where gid='$gid' and pos=10";
				  $rs1=$db->get_one($sql1);
				  echo $rs1['username'];
				  ?>
                  </td>
                </tr>
                <tr>
                  <td height="20" colspan="2" align="center" bgcolor="#FFFFFF" >组员</td>
                </tr>
                <tr>
                  <td height="20" align="center" bgcolor="#FFFFFF" >资格</td>
                  <td align="center" bgcolor="#FFFFFF" ><?=$rs1['zige']?></td>
                </tr>
                <tr>
                  <td height="20" align="center" bgcolor="#FFFFFF" >下滑资格</td>
                  <td align="center" bgcolor="#FFFFFF" ><?=$rs1['xhzige']?></td>
                </tr>
                <tr>
                  <td width="51" height="20" align="center" bgcolor="#FFFFFF" >紧缩资格</td>
                  <td width="46" align="center" bgcolor="#FFFFFF" ><?=$rs1['jszige']?></td>
                </tr>
              </table></td>
              <td align="center"><table width="100" border="0" cellspacing="1" cellpadding="0" bgcolor="silver" style="margin:0px 3px;">
                <tr>
                  <td height="20" colspan="2" align="center"><?
				  //查看这个盘的盘主
				  $sql1="select * from {$db_prefix}agroup1 where gid='$gid' and pos=11";
				  $rs1=$db->get_one($sql1);
				  echo $rs1['username'];
				  ?>
                  </td>
                </tr>
                <tr>
                  <td height="20" colspan="2" align="center" bgcolor="#FFFFFF" >组员</td>
                </tr>
                <tr>
                  <td height="20" align="center" bgcolor="#FFFFFF" >资格</td>
                  <td align="center" bgcolor="#FFFFFF" ><?=$rs1['zige']?></td>
                </tr>
                <tr>
                  <td height="20" align="center" bgcolor="#FFFFFF" >下滑资格</td>
                  <td align="center" bgcolor="#FFFFFF" ><?=$rs1['xhzige']?></td>
                </tr>
                <tr>
                  <td width="51" height="20" align="center" bgcolor="#FFFFFF" >紧缩资格</td>
                  <td width="46" align="center" bgcolor="#FFFFFF" ><?=$rs1['jszige']?></td>
                </tr>
              </table></td>
              <td height="30" align="center"><table width="100" border="0" cellspacing="1" cellpadding="0" bgcolor="silver" style="margin:0px 3px;">
                <tr>
                  <td height="20" colspan="2" align="center"><?
				  //查看这个盘的盘主
				  $sql1="select * from {$db_prefix}agroup1 where gid='$gid' and pos=12";
				  $rs1=$db->get_one($sql1);
				  echo $rs1['username'];
				  ?>
                  </td>
                </tr>
                <tr>
                  <td height="20" colspan="2" align="center" bgcolor="#FFFFFF" >组员</td>
                </tr>
                <tr>
                  <td height="20" align="center" bgcolor="#FFFFFF" >资格</td>
                  <td align="center" bgcolor="#FFFFFF" ><?=$rs1['zige']?></td>
                </tr>
                <tr>
                  <td height="20" align="center" bgcolor="#FFFFFF" >下滑资格</td>
                  <td align="center" bgcolor="#FFFFFF" ><?=$rs1['xhzige']?></td>
                </tr>
                <tr>
                  <td width="51" height="20" align="center" bgcolor="#FFFFFF" >紧缩资格</td>
                  <td width="46" align="center" bgcolor="#FFFFFF" ><?=$rs1['jszige']?></td>
                </tr>
              </table></td>
              <td align="center"><table width="100" border="0" cellspacing="1" cellpadding="0" bgcolor="silver" style="margin:0px 3px;">
                <tr>
                  <td height="20" colspan="2" align="center"><?
				  //查看这个盘的盘主
				  $sql1="select * from {$db_prefix}agroup1 where gid='$gid' and pos=13";
				  $rs1=$db->get_one($sql1);
				  echo $rs1['username'];
				  ?>
                  </td>
                </tr>
                <tr>
                  <td height="20" colspan="2" align="center" bgcolor="#FFFFFF" >组员</td>
                </tr>
                <tr>
                  <td height="20" align="center" bgcolor="#FFFFFF" >资格</td>
                  <td align="center" bgcolor="#FFFFFF" ><?=$rs1['zige']?></td>
                </tr>
                <tr>
                  <td height="20" align="center" bgcolor="#FFFFFF" >下滑资格</td>
                  <td align="center" bgcolor="#FFFFFF" ><?=$rs1['xhzige']?></td>
                </tr>
                <tr>
                  <td width="51" height="20" align="center" bgcolor="#FFFFFF" >紧缩资格</td>
                  <td width="46" align="center" bgcolor="#FFFFFF" ><?=$rs1['jszige']?></td>
                </tr>
              </table></td>
              <td height="30" align="center"><table width="100" border="0" cellspacing="1" cellpadding="0" bgcolor="silver" style="margin:0px 3px;">
                <tr>
                  <td height="20" colspan="2" align="center"><?
				  //查看这个盘的盘主
				  $sql1="select * from {$db_prefix}agroup1 where gid='$gid' and pos=14";
				  $rs1=$db->get_one($sql1);
				  echo $rs1['username'];
				  ?>
                  </td>
                </tr>
                <tr>
                  <td height="20" colspan="2" align="center" bgcolor="#FFFFFF" >组员</td>
                </tr>
                <tr>
                  <td height="20" align="center" bgcolor="#FFFFFF" >资格</td>
                  <td align="center" bgcolor="#FFFFFF" ><?=$rs1['zige']?></td>
                </tr>
                <tr>
                  <td height="20" align="center" bgcolor="#FFFFFF" >下滑资格</td>
                  <td align="center" bgcolor="#FFFFFF" ><?=$rs1['xhzige']?></td>
                </tr>
                <tr>
                  <td width="51" height="20" align="center" bgcolor="#FFFFFF" >紧缩资格</td>
                  <td width="46" align="center" bgcolor="#FFFFFF" ><?=$rs1['jszige']?></td>
                </tr>
              </table></td>
              <td align="center"><table width="100" border="0" cellspacing="1" cellpadding="0" bgcolor="silver" style="margin:0px 3px;">
                <tr>
                  <td height="20" colspan="2" align="center"><?
				  //查看这个盘的盘主
				  $sql1="select * from {$db_prefix}agroup1 where gid='$gid' and pos=15";
				  $rs1=$db->get_one($sql1);
				  echo $rs1['username'];
				  ?>
                  </td>
                </tr>
                <tr>
                  <td height="20" colspan="2" align="center" bgcolor="#FFFFFF" >组员</td>
                </tr>
                <tr>
                  <td height="20" align="center" bgcolor="#FFFFFF" >资格</td>
                  <td align="center" bgcolor="#FFFFFF" ><?=$rs1['zige']?></td>
                </tr>
                <tr>
                  <td height="20" align="center" bgcolor="#FFFFFF" >下滑资格</td>
                  <td align="center" bgcolor="#FFFFFF" ><?=$rs1['xhzige']?></td>
                </tr>
                <tr>
                  <td width="51" height="20" align="center" bgcolor="#FFFFFF" >紧缩资格</td>
                  <td width="46" align="center" bgcolor="#FFFFFF" ><?=$rs1['jszige']?></td>
                </tr>
              </table></td>
            </tr>
          </table>
		 
		  <table width="100%" border="0">
            <tr>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
            </tr>
          </table></td>
      </tr>
    </table></td>
    <td background="images/mail_rightbg.gif">&nbsp;</td>
  </tr>
  <tr>
    <td valign="middle" background="images/mail_leftbg.gif"><img src="images/buttom_left2.gif" width="17" height="17" /></td>
      <td height="17" valign="top" background="images/buttom_bgs.gif"><img src="images/buttom_bgs.gif" width="17" height="17" /></td>
    <td background="images/mail_rightbg.gif"><img src="images/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>

</body>
</html>